package com.iwhalecloud.citybrain.flow.platform.manager.application.common.event;

import java.util.List;

import org.flowable.task.api.Task;

/**
 * @author lilh
 * @date 2019-04-22 13:52
 */
public class ActivityJumpEvent {

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 流程实例id
     */
    private String processInstanceId;

    /**
     * 待跳转的任务
     */
    private List<Task> currentTasks;

    /**
     * 跳转到的目标节点
     */
    private String newActivityId;

    /**
     * 跳转到的目标节点名称
     */
    private String newActivityName;

    /**
     * 备注
     */
    private String comment;

    public String getCreatorName() {
        return creatorName;
    }

    public ActivityJumpEvent setCreatorName(String creatorName) {
        this.creatorName = creatorName;
        return this;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public ActivityJumpEvent setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
        return this;
    }

    public List<Task> getCurrentTasks() {
        return currentTasks;
    }

    public ActivityJumpEvent setCurrentTasks(List<Task> currentTasks) {
        this.currentTasks = currentTasks;
        return this;
    }

    public String getNewActivityId() {
        return newActivityId;
    }

    public ActivityJumpEvent setNewActivityId(String newActivityId) {
        this.newActivityId = newActivityId;
        return this;
    }

    public String getNewActivityName() {
        return newActivityName;
    }

    public ActivityJumpEvent setNewActivityName(String newActivityName) {
        this.newActivityName = newActivityName;
        return this;
    }

    public String getComment() {
        return comment;
    }

    public ActivityJumpEvent setComment(String comment) {
        this.comment = comment;
        return this;
    }
}
